import { option, flagList } from './baseStatistics'

export const columns = [
  {
    label: '药品名称',
    prop: 'drugName',
    // sortable: 'custom',
    width: 100
  },
  {
    label: '药品类型',
    prop: 'drugType',
    slot: true
  },
  {
    label: '销量',
    prop: 'quantity',
    sortable: true
  },
  {
    label: '销售额',
    sortable: true,
    prop: 'price',
    slot: true
  },
  {
    label: '成本',
    sortable: true,
    prop: 'costPrice',
    slot: true
  },
  {
    sortable: true,
    label: '利润',
    prop: 'profit',
    slot: true
  },
  {
    label: '现有库存',
    sortable: true,
    prop: 'stock'
  }
]

export const pickerOption = option

export const typeList = flagList
